package com.wt.test.ai.springai.config;

import org.springframework.ai.image.ImageOptions;
import org.springframework.ai.stabilityai.api.StabilityAiImageOptions;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author qiyu
 * @since 2025/2/6
 */
@Configuration
public class ImageConfig {
    
    
    
    /**
     * 定义一个Open AI的图片选项，用于配置图片生成的模型等参数
     *
     * @return ImageOptions
     */
    @Bean
    public ImageOptions imageOptions() {
        return StabilityAiImageOptions.builder()
                .build();
    }
}
